﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace ReactReduxTool.Model {

    [DataContract]
    public class ConfigItemInfoEntry {

        public ConfigItemInfoEntry() { }

        public ConfigItemInfoEntry(string name, string command,int type) {
            this.Name = name;
            this.Command = command;
            this.Type = type;
        }

        [DataMember(Order = 0, Name = "Name")]
        public string Name { set; get; }

        [DataMember(Order = 1, Name = "Command")]
        public string Command { set; get; }

        /// <summary>
        /// 安装类型：0-全局依赖 1-dev依赖 2-发布依赖
        /// </summary>
        [DataMember(Order = 2,Name = "Type")]
        public int Type { set; get; }

    }

}
